package com.pr.makfilm.core.cmp.web;

import org.apache.wicket.Component;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.model.IModel;

/**
 * Created with IntelliJ IDEA.
 * User: Barbara
 * Date: 06.11.13
 * Time: 19:20
 * To change this template use File | Settings | File Templates.
 */
public class BootstrapLabel<T> extends AbstractBootstrapComponent
{
   private Label label;

   public BootstrapLabel(String id, IModel<T> model)
   {
      super(id);
      label = new Label("valueLabel", model);
      container.add(label);
   }

   @Override
   public void setValidation(boolean required)
   {
      //To change body of implemented methods use File | Settings | File Templates.
   }

   @Override
   public Component getField()
   {
      return label;
   }
}
